package duaxe.home.entity;

import java.util.Random;

import duaxe.home.Graphics.Screen;
import duaxe.home.level.Level;
//thuc the
public abstract class Entity {
	public int x, y;
	private boolean removed = false;
	protected Level level;
	protected final Random random = new Random();

	public void update() {

	}
	//dua ve man hinh
	public void render(Screen screen){
		
		
	}
	//xoa bo
	public void remove(){
		removed = true;
	}
	public boolean isRemove(){
		
		return removed; 
	}
	public void init(Level level){
		this.level= level;
		
	}
}
